<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover" />
    <meta name="theme-color" content="#000000" />
    <!--
      manifest.json provides metadata used when your web app is installed on a
      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
    -->
    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
    
    <!--
      Notice the use of %PUBLIC_URL% in the tags above.
      It will be replaced with the URL of the `public` folder during the build.
      Only files inside the `public` folder can be referenced from the HTML.

      Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
      work correctly both with client-side routing and a non-root public URL.
      Learn how to configure a non-root public URL by running `npm run build`.
    -->
    <title>渼伱</title>
  </head>
  <script>
    /*
     * @Author: xiayulin
     * @Date:   2017-03-11 15:08:34
     * @Last Modified by:   xiayulin
     * @Last Modified time: 2017-03-11 15:08:59
     */

    "use strict";
    (function (doc, win) {
      var docEl = doc.documentElement, // 获取html对象
        resizeEvt = "orientationchange" in window ? "orientationchange" : "resize", // 横屏是否支持，不支持则为浏览器大小改变
        // 计算页面字体大小
        recalc = function () {
          // 获取页面宽度
          var clientWidth = docEl.clientWidth;
          // 获取不到页面宽度，直接返回
          if (!clientWidth) return;
          // 设置html字体大小(浏览器默认字体大小为16px)
          docEl.style.fontSize = (clientWidth / 750) * 100 + "px";
        };
      // 不支持addEventListener,返回
      if (!doc.addEventListener) return;
      // 监听事件，获取当前html标签的字体大小
      win.addEventListener(resizeEvt, recalc, false);
      // dom内容加在完成事件
      doc.addEventListener("DOMContentLoaded", recalc, false);
    })(document, window);
    </script>
  <body>
    <noscript>该网站需要您开启JavaScript支持.</noscript>
    <div id="root"></div>
    <!--
      This HTML file is a template.
      If you open it directly in the browser, you will see an empty page.

      You can add webfonts, meta tags, or analytics to this file.
      The build step will place the bundled scripts into the <body> tag.

      To begin the development, run `npm start` or `yarn start`.
      To create a production bundle, use `npm run build` or `yarn build`.
    -->
  </body>
  <script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  <script src="https://cdn.bootcss.com/vConsole/3.3.0/vconsole.min.js"></script>
  <script>
    new VConsole();
  </script>
</html>
